var Global = {
	common: {
		newUrl: "http://118.25.235.213:8020/ChinaAPP/",
		path: (window.location + "").split("/")[0] + "//" + (window.location + "").split("/")[2],
		iserverPath: "http://10.62.37.154:8090",
		socketPath: "ws://" + (window.location + "").split("/")[2] + "/NMWarning/chat",
		socketPath1: "ws://" + (window.location + "").split("/")[2] + "/NMWarning/yjxh",
		ajaxPath: (window.location + "").split("/")[0] + "//" + (window.location + "").split("/")[2] + "/" + (window.location + "").split("/")[3],
		ajaxPath1: (window.location + "").split("/")[0] + "//" + (window.location + "").split("/")[2],
		map: null,
		time: "",       //农情/灾情选择时间
		selectFeature: null,
		selectFeatureLayers: [],
		popup: null,
		layer1: null,					//矢量底图
		layer2: null,					//影像底图
		layer3: null,					//地形底图
		layer4: null,					//矢量中文注记
		layer5: null,					//影像中文注记
		layer6: null,					//地形中文注记
		borderLayer: null,				//边界图层
		maskLayer: null,				//遮罩图层
		bounds: null,					//当前区域四角边界
		socket: null,					//监测报警websocket连接
		socket1: null,					//预警信号websocket连接
		areaName: "重庆市",			     //ip地址所在区域名
		areaCode: "500000",				//当前区域编码
		areaStationArr: [],				//Station_Id_C,Station_Name,City,Lat,Lon,Admin_Code_CHN
		areaGjStationArr: [],			//Station_Id_C,Station_Name,City,Lat,Lon,Admin_Code_CHN
		currAreaStationArr: [],			//Station_Id_C,Station_Name,City,Lat,Lon,Admin_Code_CHN
		popup: null,					//气泡
		param1: null,					//图层参数，格式：图层标识,时间尺度,指标类型
		jcbjJsonStr: null,				//实况报警信息jsonStr
		yjxhJsonStr: null,				//预警信号jsonStr
		yjxhValue: null,				//条件查询预警信息
		yjxhWebSocketFlag: true,		//预警信号websocket控制
		warnType: null,					//实况报警类型
		farmnum: [],					//灾情/农情调查分布数组
		title: [],						//标题控制数组
		kjTitle: null,					//快捷专题标题
		timeAxis: [],					//时间轴控制数组
		timeAxisType: null,				//时间轴类型
		timeAxisShowType: null,			//时间轴显示样式
		legend: [],						//图例数组
		poiLegend: [],					//poi图例数组
		minLon: 105.15,				//起始经度
		minLat: 28.05,				//起始纬度
		maxLon: 110.30,				//终止经度
		maxLat: 32.35,				//终止纬度
		stationid: "",				//站点ID
		stationname: "",			//站点名
		windImgStr: ",WIN_S_Avg_2mi,WIN_S_Avg_10mi,WIN_S_Max,WIN_S_INST,WIN_S_Inst_Max,WIN_S_Inst_Max_6h,WIN_S_Inst_Max_12h,",
		chooseType : "PPYH",
		timeInterval1: null,
		yjxhFlag: true,
		imagetitleFlage : false,
		yjxh_level: ["0", "1", "2", "3"]
	},
	webgl: {
		baseViewer: null,
		baseTDImgLayer: null
	},
	time: {
		year: null,
		month: null,
		day: null,
		hour: null
	},
	//拖拽
	drag: {
		
	},
	//投影
	transform: {
		source: "4326",		//源对象投影
		dest: "4326"		//目标对象投影
	},
	//iserver服务地址
	iserver: {
		rest: {
			data1: "/iserver/services/data-neimengdata/rest/data",
		}
	},
	areaQuery: {
		layer: null,		//图层
		layerStyle: {
			strokeColor: "#a9a9a9",
	        strokeWidth: 2,
	        fillColor: "#a9a9a9",
	        fillOpacity: 0.2
	    },
		drawFeature: null,
		drawFeature1: null,
		drawFeature2: null,
		drawFeature3: null,
		continueDrawFlag: false,
		geometry: [],
		area: null,
		//缓存features数据
		features: {
			village: null,				//村
			town: null,					//乡镇级
			cnty: null,					//县
			display: null,				//显示屏
			people: {					
				town: null,				//乡镇-联系人
				village: null			//村-联系人
			},
			school1: null,				//幼儿园
			school2: null,				//小学
			school3: null,				//中学
			school4: null,				//职业技术学校
			school5: null,				//高等院校
			hospital1: null,			//综合医院
			hospital2: null,			//专科医院
			hospital3: null,			//诊所
			powerStation: null,			//发电站
			railway: null,				//火车站
			gasStation: null,			//加油站
			restArea: null,				//服务区
			fireStation: null,			//加油站
			hidden1: null,				//中小河流隐患点
			hidden2: null,				//山洪流隐患点
			alarms1: null,				//中小河流预警点
			alarms2: null,				//山洪预警点
			alarms3: null,				//泥石流预警点
			alarms4: null				//滑坡预警点
		}
	},
	//实况监测
	monitor: {
		yjxh: [
			{flag:"yj_12_2",name:"大雾",level:"黄色"},
			{flag:"yj_12_3",name:"大雾",level:"橙色"},
			{flag:"yj_12_4",name:"大雾",level:"红色"},
			{flag:"yj_13_2",name:"霾",level:"黄色"},
			{flag:"yj_13_3",name:"霾",level:"橙色"},
			{flag:"yj_14_2",name:"道路结冰",level:"黄色"},
			{flag:"yj_14_3",name:"道路结冰",level:"橙色"},
			{flag:"yj_14_4",name:"道路结冰",level:"红色"},
			{flag:"yj_1_2",name:"台风",level:"黄色"},
			{flag:"yj_1_3",name:"台风",level:"橙色"},
			{flag:"yj_1_4",name:"台风",level:"红色"},
			{flag:"yj_6_3",name:"沙尘暴",level:"橙色"},
			{flag:"yj_6_4",name:"沙尘暴",level:"红色"},
			{flag:"yj_7_2",name:"高温",level:"黄色"},
			{flag:"yj_7_3",name:"高温",level:"橙色"},
			{flag:"yj_7_4",name:"高温",level:"红色"},
			{flag:"yj_8_3",name:"干旱",level:"橙色"},
			{flag:"yj_8_4",name:"干旱",level:"红色"},
			{flag:"yj_9_2",name:"雷电",level:"黄色"},
			{flag:"yj_9_3",name:"雷电",level:"橙色"},
			{flag:"yj_9_4",name:"雷电",level:"红色"},
			{flag:"yj_10_3",name:"冰雹",level:"橙色"},
			{flag:"yj_10_4",name:"冰雹",level:"红色"},
			{flag:"yj_11_1",name:"霜冻",level:"蓝色"},
			{flag:"yj_11_2",name:"霜冻",level:"黄色"},
			{flag:"yj_11_3",name:"霜冻",level:"橙色"},
			{flag:"yj_15_2",name:"森林火险",level:"黄色"},
			{flag:"yj_15_3",name:"森林火险",level:"橙色"},
			{flag:"yj_15_4",name:"森林火险",level:"红色"},
			{flag:"yj_2_1",name:"暴雨",level:"蓝色"},
			{flag:"yj_2_2",name:"暴雨",level:"黄色"},
			{flag:"yj_2_3",name:"暴雨",level:"橙色"},
			{flag:"yj_2_4",name:"暴雨",level:"红色"},
			{flag:"yj_3_1",name:"暴雪",level:"蓝色"},
			{flag:"yj_3_2",name:"暴雪",level:"黄色"},
			{flag:"yj_3_3",name:"暴雪",level:"橙色"},
			{flag:"yj_3_4",name:"暴雪",level:"红色"},
			{flag:"yj_4_1",name:"寒潮",level:"蓝色"},
			{flag:"yj_4_2",name:"寒潮",level:"黄色"},
			{flag:"yj_4_3",name:"寒潮",level:"橙色"},
			{flag:"yj_4_4",name:"寒潮",level:"红色"},
			{flag:"yj_1_1",name:"台风",level:"蓝色"},
			{flag:"yj_5_1",name:"大风",level:"蓝色"},
			{flag:"yj_5_2",name:"大风",level:"黄色"},
			{flag:"yj_5_3",name:"大风",level:"橙色"},
			{flag:"yj_5_4",name:"大风",level:"红色"},
			{flag:"yj_6_2",name:"沙尘暴",level:"黄色"}
		],
		jcbj: [
			{flag:"HighTempMonitor",name:"高温热浪",unit:"℃"},
			{flag:"LowTempMonitor",name:"低温冻害",unit:"℃"},
			{flag:"2MinAvgWinMonitor",name:"2分钟平均风速",unit:"m/s"},
			{flag:"10MinAvgWinMonitor",name:"10分钟平均风速",unit:"m/s"},
			{flag:"1HourPreMonitor",name:"过去1小时降水量",unit:"mm"},
			{flag:"3HourPreMonitor",name:"过去3小时降水量",unit:"mm"}
		],
		color: [
			{name:"蓝色",value:"#0000FF"},
			{name:"黄色",value:"#FFFF00"},
			{name:"橙色",value:"#FFA500"},
			{name:"红色",value:"#FF0000"},
			{name:"绿色",value:"#00FF00"}
		],
		imgUrl: [
			{name:"BlueHighTempMonitor",value:"resources/images/indexMap/BlueHighTempMonitor.gif",rotation:false,width:30,height:30},
			{name:"OrangeHighTempMonitor",value:"resources/images/indexMap/OrangeHighTempMonitor.gif",rotation:false,width:30,height:30},
			{name:"RedHighTempMonitor",value:"resources/images/indexMap/RedHighTempMonitor.gif",rotation:false,width:30,height:30},
			{name:"BlueLowTempMonitor",value:"resources/images/indexMap/BlueLowTempMonitor.gif",rotation:false,width:30,height:30},
			{name:"OrangeLowTempMonitor",value:"resources/images/indexMap/OrangeLowTempMonitor.gif",rotation:false,width:30,height:30},
			{name:"RedLowTempMonitor",value:"resources/images/indexMap/RedLowTempMonitor.gif",rotation:false,width:30,height:30},
			{name:"2MinAvgBuleWinMonitor",value:"resources/images/indexMap/BlueWinMonitor.png",rotation:true,width:20,height:20},
			{name:"2MinAvgOrangeWinMonitor",value:"resources/images/indexMap/OrangeWinMonitor.png",rotation:true,width:20,height:20},
			{name:"2MinAvgRedWinMonitor",value:"resources/images/indexMap/RedWinMonitor.png",rotation:true,width:20,height:20},
			{name:"10MinAvgBuleWinMonitor",value:"resources/images/indexMap/BlueWinMonitor.png",rotation:true,width:20,height:20},
			{name:"10MinAvgOrangeWinMonitor",value:"resources/images/indexMap/OrangeWinMonitor.png",rotation:true,width:20,height:20},
			{name:"10MinAvgRedWinMonitor",value:"resources/images/indexMap/RedWinMonitor.png",rotation:true,width:20,height:20},
			{name:"1HourBulePreMonitor",value:"resources/images/indexMap/BluePreMonitor.gif",rotation:false,width:20,height:20},
			{name:"1HourOrangePreMonitor",value:"resources/images/indexMap/OrangePreMonitor.gif",rotation:false,width:20,height:20},
			{name:"1HourRedPreMonitor",value:"resources/images/indexMap/RedPreMonitor.gif",rotation:false,width:20,height:20},
			{name:"3HourBulePreMonitor",value:"resources/images/indexMap/BluePreMonitor.gif",rotation:false,width:20,height:20},
			{name:"3HourOrangePreMonitor",value:"resources/images/indexMap/OrangePreMonitor.gif",rotation:false,width:20,height:20},
			{name:"3HourRedPreMonitor",value:"resources/images/indexMap/RedPreMonitor.gif",rotation:false,width:20,height:20},
			{name:"yj_12_2",value:"resources/images/indexMap/heavyfog_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_12_3",value:"resources/images/indexMap/heavyfog_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_12_4",value:"resources/images/indexMap/heavyfog_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_13_2",value:"resources/images/indexMap/haze_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_13_3",value:"resources/images/indexMap/haze_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_14_2",value:"resources/images/indexMap/roadicing_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_14_3",value:"resources/images/indexMap/roadicing_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_14_4",value:"resources/images/indexMap/roadicing_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_1_2",value:"resources/images/indexMap/typhoon_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_1_3",value:"resources/images/indexMap/typhoon_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_1_4",value:"resources/images/indexMap/typhoon_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_6_3",value:"resources/images/indexMap/shachengbao_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_6_4",value:"resources/images/indexMap/shachengbao_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_7_2",value:"resources/images/indexMap/heatwave_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_7_3",value:"resources/images/indexMap/heatwave_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_7_4",value:"resources/images/indexMap/heatwave_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_8_3",value:"resources/images/indexMap/drought_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_8_4",value:"resources/images/indexMap/drought_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_9_2",value:"resources/images/indexMap/lightning_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_9_3",value:"resources/images/indexMap/lightning_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_9_4",value:"resources/images/indexMap/lightning_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_10_3",value:"resources/images/indexMap/hail_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_10_4",value:"resources/images/indexMap/hail_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_11_1",value:"resources/images/indexMap/frost_blue.jpg",rotation:false,width:25,height:25},
			{name:"yj_11_2",value:"resources/images/indexMap/frost_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_11_3",value:"resources/images/indexMap/frost_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_2_1",value:"resources/images/indexMap/rainstorm_blue.jpg",rotation:false,width:25,height:25},
			{name:"yj_2_2",value:"resources/images/indexMap/rainstorm_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_2_3",value:"resources/images/indexMap/rainstorm_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_2_4",value:"resources/images/indexMap/rainstorm_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_3_1",value:"resources/images/indexMap/snowstorm_blue.jpg",rotation:false,width:25,height:25},
			{name:"yj_3_2",value:"resources/images/indexMap/snowstorm_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_3_3",value:"resources/images/indexMap/snowstorm_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_3_4",value:"resources/images/indexMap/snowstorm_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_4_1",value:"resources/images/indexMap/coldwave_blue.jpg",rotation:false,width:25,height:25},
			{name:"yj_4_2",value:"resources/images/indexMap/coldwave_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_4_3",value:"resources/images/indexMap/coldwave_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_4_4",value:"resources/images/indexMap/coldwave_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_1_1",value:"resources/images/indexMap/typhoon_blue.jpg",rotation:false,width:25,height:25},
			{name:"yj_5_1",value:"resources/images/indexMap/gale_blue.jpg",rotation:false,width:25,height:25},
			{name:"yj_5_2",value:"resources/images/indexMap/gale_yellow.jpg",rotation:false,width:25,height:25},
			{name:"yj_5_3",value:"resources/images/indexMap/gale_orange.jpg",rotation:false,width:25,height:25},
			{name:"yj_5_4",value:"resources/images/indexMap/gale_red.jpg",rotation:false,width:25,height:25},
			{name:"yj_6_2",value:"resources/images/indexMap/shachengbao_yellow.jpg",rotation:false,width:25,height:25}
		],
		info: [
			{flag:"2MinAvgWinMonitor",info1:"2分钟平均风速",info2:"2分钟平均风向",info2Unit:"度"},
			{flag:"10MinAvgWinMonitor",info1:"10分钟平均风速",info2:"10分钟平均风向",info2Unit:"度"}	
		]
	}
};